package com.xiaoyun.mybatisplus01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class User {
    @TableId(
            value = "id",
            type = IdType.ASSIGN_ID
    )
    private String id;

    private String name;

    private String email;

    private Integer age;
}
